<template>
	<view class="receive-center u-flex u-col-bottom">
		<view class="receive-content">
			<view class="content-header"><image src="../../static/images/icon_close@2x.png" mode="" @click="hide"></image></view>
			<scroll-view scroll-y="true" class="receive-content-scroll">
				<view class="item u-flex u-col-center u-row-between">
					<view class="u-flex u-col-center">
						<view class="icon-90"><image src="../../static/images/icon_mark.png" mode="widthFix"></image></view>
						<view class="desc">
							<view class="lable">每日签到</view>
							<view class="">每天签到可以免费获赠10g饲料</view>
						</view>
					</view>
					<view class="sub-btn">签到</view>
				</view>
				<view class="item u-flex u-col-center u-row-between">
					<view class="u-flex u-col-center">
						<view class="icon-90"><image src="../../static/images/icon_gift.png" mode="widthFix"></image></view>
						<view class="desc">
							<view class="lable">活动领取</view>
							<view class="">获得饲料的主要来源，还有红包哦</view>
						</view>
					</view>
					<view class="sub-btn">参加</view>
				</view>
				<view class="item u-flex u-col-center u-row-between">
					<view class="u-flex u-col-center">
						<view class="icon-90"><image src="../../static/images/icon_id.png" mode="widthFix"></image></view>
						<view class="desc">
							<view class="lable">观赏广告</view>
							<view class="">观看1条广告可以获赠20g饮料</view>
						</view>
					</view>
					<!-- <view class="sub-btn">签到</view> -->
				</view>
				<view class="item u-flex u-col-center u-row-between">
					<view class="u-flex u-col-center">
						<view class="icon-90"><image src="../../static/images/icon_share_2.png" mode="widthFix"></image></view>
						<view class="desc">
							<view class="lable">每日分享</view>
							<view class="">每天分享可以免费获赠10g饲料</view>
						</view>
					</view>
					<view class="sub-btn">分享</view>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
export default {
	name:"receiveCenter",
	data() {
		return {};
	},methods:{
		hide(){
			this.$emit('showReceiveCenterMadal')
		}
	}
};
</script>

<style>
.receive-center {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 15;
}
.receive-content {
	width: 100%;
	height: 729rpx;
	background: rgba(255, 255, 255, 1);
	border-radius: 20rpx 20rpx 0px 0px;
	overflow: hidden;
}
.content-header {
	width: 100%;
	height: 70rpx;
	position: relative;
}
.content-header image {
	width: 148rpx;
	height: 140rpx;
	position: absolute;
	right: -68rpx;
	top: -60rpx;
}
.lable {
	font-size: 36rpx;
	color: #000;
}
.desc {
	font-size: 28rpx;
	color: #999999;
}
.sub-btn{
	width:140rpx;
	height:60rpx;
	background:rgba(245,179,64,1);
	border:3rpx solid rgba(204,126,43,1);
	border-radius:20rpx;
	color: #FFFFFF;
	font-size:32rpx;
	line-height: 60rpx;
	text-align: center;
}
.icon-90 {
	width: 90rpx;
	height: 90rpx;
	margin-right: 16rpx;
}
.icon-90 image {
	width: 100%;
	height: 100%;
}
.receive-content-scroll {
	height: 100%;
}
.item {
	padding: 0 28rpx 0 38rpx;
	box-sizing: border-box;
	margin-top: 46rpx;
}
</style>
